package com.demo.designmode.proxy.mystatic;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2024-1-11 10:33
 * @Version: 1.0
 */
public class ProxyPoint implements SellTickets{

    private TrainStation station;
    public ProxyPoint(TrainStation station){
        this.station = station;
    }
    @Override
    public void sell() {
        System.out.println("代理点收取一些服务费用");
        station.sell();
    }
}
